<?php if ($field->isPartial()): ?>
<?php include_partial('videoGroup/' . $name, array('type' => 'filter', 'form' => $form, 'attributes' => $attributes instanceof sfOutputEscaper ? $attributes->getRawValue() : $attributes)) ?>
<?php elseif ($field->isComponent()): ?>
<?php include_component('videoGroup', $name, array('type' => 'filter', 'form' => $form, 'attributes' => $attributes instanceof sfOutputEscaper ? $attributes->getRawValue() : $attributes)) ?>
<?php  else: ?>
<!--  <tr class="--><?php //echo $class ?><!--">-->
<li>
    <td>
    <?php echo $form[$name]->renderLabel($label) ?>
    </td>
    <td>
    <?php echo $form[$name]->renderError() ?>

    <?php echo $form[$name]->render($attributes instanceof sfOutputEscaper ? $attributes->getRawValue() : $attributes) ?>

    <?php if ($help || $help = $form[$name]->renderHelp()): ?>
        <div class="help"><?php echo __($help, array(), 'messages') ?></div>
    <?php endif; ?>
    </td>
</li>
<!--  </tr>-->
<?php endif; ?>
